home *** CD-ROM | disk | FTP | other *** search
- Path: news.iadfw.net!usenet
- From: alpet@airmail.net (Adam Peterson)
- Newsgroups: comp.lang.c
- Subject: Re: Pattern matching in C
- Date: Sat, 24 Feb 1996 07:42:33 GMT
- Organization: customer of Internet America
- Message-ID: <4gm8ks$c3p@news-f.iadfw.net>
- References: <4gjo68$jpp@paperboy.ids.net>
- NNTP-Posting-Host: dal19-06.ppp.iadfw.net
- X-Newsreader: Forte Free Agent 1.0.82
-
- scarney@conan.ids.net (scarney) wrote:
-
-
- >I'm trying to do some text file pattern matching. Using a simple while
- >loop that has a <data> != <j.random string> in its conditional doesn't
- >work. Depending on different ways of doing it, you get a segmentation
- >fault, random output, or no output.
-
- Segmentation fault with strings manipulation usually means you are
- overwriting your string boundries, I don't really understand what you
- are trying to do, could you be more specific?
-
- Adam
-
-
-
-